package com.cqc.jdk8.Jutil.concurrent.threadPoolExecutor.exception;

import java.util.concurrent.TimeUnit;

/**
 * @author cui
 * @date 2023/11/11 9:38
 * @description
 **/
public class Task2 implements Runnable {


    @Override
    public void run() {
        System.out.println("进入 Task2 的 run 方法");
        try {
            TimeUnit.SECONDS.sleep(1);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
}